import 'package:flutter/material.dart';

class TestConsumerNotifier extends ChangeNotifier {

  String message = "11111111111";

  void updateMessage(String msg) {
    message = msg;
    notifyListeners();
  }

  Future<String> getFuture(String prefix, String suffix) {
    return Future.delayed(Duration(seconds: 3), () {
      message = prefix + message + suffix;
      notifyListeners();
      return "";
    });
  }

}